param ( $Provider=$null
      , $ConfigFile=$null
			, $ProviderParms
			, [array]$Files
			, $Filter
			, [switch] $Checkpoint
			, [switch] $Force
			)

$scriptDir = Get-ScriptDir

$PatchExecuter = . "$scriptDir\DBProviders\Get-PatchProvider.PS1" $SchemaDir $Provider $ConfigFile $ProviderParms

$manifest = ($ManifestFileBrokerClass.New()).FromPath($SchemaDir,$Files,$Filter)

$PatchExecuter.Checkpoint = $Checkpoint
$PatchExecuter.Force = $Force
$PatchExecuter.ProcessPatches($manifest)

